<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Modern Browser Test</title>
  </head>
  <body>
    <p>indexedDB <span id="indexedDB">Fail</span></p>
    <p>localStorage <span id="localStorage">Fail</span></p>
    <script charset="utf-8">
      const $ = document.querySelector.bind(document)
      if (window.indexedDB) $('#indexedDB').innerText = 'OK'
      if (window.localStorage) $('#localStorage').innerText = 'OK'

    </script>
  </body>
</html>
